package com.cyl.manager.yee.convert;

import org.mapstruct.Mapper;
import com.cyl.manager.yee.domain.YeeMerchant;
import com.cyl.manager.yee.pojo.dto.YeeMerchantDTO;
import com.cyl.manager.yee.pojo.vo.YeeMerchantVO;
import java.util.List;
/**
 * 商户管理  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface YeeMerchantConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    YeeMerchantDTO do2dto(YeeMerchant source);

    /**
     * @param source DTO
     * @return DO
     */
    YeeMerchant dto2do(YeeMerchantDTO source);

    List<YeeMerchantVO> dos2vos(List<YeeMerchant> list);
}
